#include "VRemoveFileDialog.h"
#include "ui_VRemoveFileDialog.h"

VRemoveFileDialog::VRemoveFileDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::VRemoveFileDialog)
{
    ui->setupUi(this);
}

VRemoveFileDialog::~VRemoveFileDialog()
{
    delete ui;
}

void VRemoveFileDialog::on_pushButton_ok_clicked()
{
    _delete_source_file = ui->checkBox_del_file->isChecked();
    this->accept();
}

void VRemoveFileDialog::on_pushButton_cancel_clicked()
{
    this->reject();
}
